<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" >
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="css/bootstrap.min.css">

    <!-- Loding font -->
    <link href="https://fonts.googleapis.com/css?family=Montserrat:300,700" rel="stylesheet">

    <!-- Custom Styles -->
    <link rel="stylesheet" type="text/css" href="./css/styles.css">

    <title>Home</title>
</head>
<body>

<!-- Backgrounds -->
<div id="login-bg" class="container-fluid">

    <div class="bg-img"></div>
    <div class="bg-color"></div>
</div>
<!-- End Backgrounds -->
<div class="container" id="login">
    <div class="row justify-content-center">
        <div class="col-lg-8">
            <div class="login">

                <h1>Login</h1>

                <!-- Loging form -->
                <form th:action="@{/login}" method="post">
                    <div class="form-group">
                        <input type="text" class="form-control" name="username"
                               id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="用户名">

                    </div>
                    <div class="form-group">
                        <input type="password" class="form-control" name="password"
                               id="exampleInputPassword1" placeholder="密码">
                    </div>

                    <div class="form-check">
                        <label class="switch">
                            <input type="checkbox" name="remember-me">
                            <span class="slider round"></span>
                        </label>
                        <label class="form-check-label" for="exampleCheck1">记住我</label>

                        <label class="forgot-password"><a href="#">忘记密码?</a></label>

                    </div>

                    <br>
                    <button type="submit" class="btn btn-lg btn-block btn-success">登录</button>
                </form>
                <!-- End Loging form -->

            </div>
        </div>
    </div>
</div>


</body>
</html>
